echo off
SETLOCAL

echo *** Deleting old images.h ***
DEL ..\src\images.h

echo *** Creating .h-files from tga files ***
FOR %%X IN (*.tga) DO ..\tools\bin2h %%X

echo *** Adding individual .h-files to images.h ***
FOR %%X IN (*.h) DO type %%X >> ..\src\images.h

echo *** Cleaning up ***
DEL *.h

echo *** DONE ***
ENDLOCAL
pause